package middle.ground.core.exception;

import org.springframework.http.HttpStatus;

/**
 * 禁止访问异常
 *
 * @author jrl
 * @author jrl
 * @date 2020-12-01
 */
public class ForbiddenException extends BusinessException {

	private static final long serialVersionUID = -4630300924643755046L;

	public ForbiddenException() {
		super(HttpStatus.FORBIDDEN.value(), "Access Forbidden");
	}

	public ForbiddenException(String message) {
		super(HttpStatus.FORBIDDEN.value(), message);
	}

}
